<template>
  <div class="not-found">
    <h1>404</h1>
    <p>Oops! 页面找不到了</p>
    <router-link to="/">返回首页</router-link>
    <div class="bottom-icon">
      <svg-icon name="404" width="600px" height="300px"></svg-icon>
    </div>
  </div>
</template>

<script lang="ts">
export default {
  name: 'NotFound',
};
</script>

<style scoped lang="scss">
/* 根据自己的美化需求，添加CSS样式 */
.not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  font-family: Arial, sans-serif;

  .bottom-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
  }
}

h1 {
  font-size: 5rem;
  margin: 0;
  color: #ff6b6b;
}

p {
  font-size: 1.5rem;
  margin-top: 0.5rem;
  color: #4f4f4f;
  margin-bottom: 20px;
}

router-link {
  margin-top: 1rem;
  color: #4f4f4f;
  text-decoration: underline;
}

router-link:hover {
  color: #ff6b6b;
}
</style>
